ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / FlexGridBase<T> Class / ShowDropDown Property






In This Topic
    ShowDropDown Property (FlexGridBase<T>)
    In This Topic
    Gets or sets a value that indicates whether the grid adds drop-down buttons to the cells in columns that have the ShowDropDown property set to true.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(True)>
    Public Overridable Property ShowDropDown As System.Boolean
    'Usage
     
    
    Dim instance As FlexGridBase(Of T)
    Dim value As System.Boolean
     
    instance.ShowDropDown = value
     
    value = instance.ShowDropDown
    [System.ComponentModel.DefaultValue(true)]
    public virtual System.bool ShowDropDown {get; set;}
    public read-write property ShowDropDown: System.Boolean; virtual; 
    System.ComponentModel.DefaultValueAttribute()
    public function get,set ShowDropDown : System.boolean
    [System.ComponentModel.DefaultValue(true)]
    public: __property virtual System.bool get_ShowDropDown();
    public: __property virtual void set_ShowDropDown( 
       System.bool value
    );
    [System.ComponentModel.DefaultValue(true)]
    public:
    virtual property System.bool ShowDropDown {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    The drop-down buttons are shown only on columns that have a DataMap set and are editable. Clicking on the drop-down buttons causes the grid to show a list where users can select the value for the cell.
    See Also